package com.hfzy.ihk.web.aliyuncall.support.disruptor.exception;

import com.lmax.disruptor.ExceptionHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by Administrator on 2016/6/13.
 *
 * @author wws
 */
public class DisruptorExceptionHandler implements ExceptionHandler {

    private static final Logger logger = LoggerFactory.getLogger(DisruptorExceptionHandler.class);
    @Override
    public void handleEventException(Throwable throwable, long l, Object o) {

        logger.debug("DisruptorExceptionHandler handleEventException");

    }

    @Override
    public void handleOnStartException(Throwable throwable) {
        logger.debug("DisruptorExceptionHandler handleOnStartException");
    }

    @Override
    public void handleOnShutdownException(Throwable throwable) {
        logger.debug("DisruptorExceptionHandler handleOnShutdownException");
    }
}
